#ifndef _SVSTUB_H
#define _SVSTUB_H

#define forever		for(;;)
#define _MASTER_	1
#define _SLAVE_		!_MASTER_

#include "clsv.h"

extern Comm comm;

void reaper(int sig);
void do_server(Comm comm);
void process_server(Comm comm);
int start_session(commType com, char * host, char * port);
void takeUDPResquest(Comm comm);
void process_UDP(CLSV_BUFFER * p);
void siginthandler(int sig);

#endif

